package yuhuibear.poat.test.entity.sub;

import yuhuibear.poat.annotations.action.GlobalIdentifyKey;
import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;

@Table(name = "personal_details", constrain = "")
public class PersonalDetail {

	@GlobalIdentifyKey
	@Field(name = "idnew_one", type = "int8", constrain = "not null references users(id) ")
	private Long i2d;

	@Field(name = "name", type = "varchar(90)", constrain = "")
	private String name;

	public Long getI2d() {
		return i2d;
	}

	public void setI2d(Long i2d) {
		this.i2d = i2d;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
